package task.iec104;

import protocol.iec104.IFrameStruct;
import core.ProcessThread;
import task.Task;

public class IEC104SendTask implements Task {
	
	private ProcessThread thd;
	private byte[] data;
	public IEC104SendTask(ProcessThread thd, IFrameStruct ist) {
		super();
		this.thd = thd;
		this.ist = ist;
	}
	private IFrameStruct ist;
//	public IEC104SendTask(ProcessThread thd, byte[] data) {
//		super();
//		this.thd = thd;
//		this.data = data;
//	}
	
	public IFrameStruct getIst() {
		return ist;
	}
	public void setIst(IFrameStruct ist) {
		this.ist = ist;
	}
	public ProcessThread getThd() {
		return thd;
	}
	public void setThd(ProcessThread thd) {
		this.thd = thd;
	}
	public byte[] getData() {
		return data;
	}
	public void setData(byte[] data) {
		this.data = data;
	}

}
